package com.zhanghe.study.design_pattern.factory_method_pattern;

/**
 * @author zh
 * @date 2022/4/12 16:44
 */
public class TestFactoryMethod {
    public static void main(String[] args) {
        IFactory factory = new DeskFactory();
        IProduct product = factory.createProduct();
        product.introduce();
    }
}
